package com.socialcoco.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@Data
@AllArgsConstructor
@ResponseStatus(value = HttpStatus.FORBIDDEN,reason = "未知错误！")
public class myExection extends RuntimeException{
    private Integer code;
    private String msg;
}
